/*
Author: Surpass-HC
Source: https://gitee.com/hxchuan000/clpc-1
Mail: surpass-hc@qq.com
*/
#pragma once
#include <lxPipe.h>
#include <cstrCmd.h>
#include <logbase.h>

typedef struct
{
    cStrCmdMgrStc cmdMgr;
    struct pipeOptStruct pipOpt;
    void *usrData;
} cPipCmdMgrStc;

void cPipCmdMgrInit(cPipCmdMgrStc *pMgrPtr, cStrCmdInfStc *cfgCmdList, int cfgNbr, const char *cfgPipFile, void *usrData);
void cPipCmdMgrUp(cPipCmdMgrStc *pMgrPtr);

